#include <iostream>
#include <cstring>
using namespace std;

/*
	构造函数调用了几次
*/
class Point
{
public:
	Point()
	{
		cout<<"无参构造"<<endl;
	}
	Point(int _x,int _y)
	{
		x=_x;
		y=_y;
		cout<<"带两个int的构造"<<endl;
	}
	Point(int _x)
	{
		x=_x;
		cout<<"带一个int的构造"<<endl;
	}
private:
	int x;
	int y;
};
Point fun(Point p1,Point p2,Point p3)
{
	 Point temp(45,69);   //1次
	 return temp;
}
int main()
{
	Point p0,p1(1,2),p2(1);   //3次
	Point ret=fun(p0,p1,p2);  
}
